#include <stdio.h>
#include "cmsis_os2.h"
#include "ohos_init.h"
#include "oled.h"
#include "oled_fonts.h"
void oledStart(void)
{
    osDelay(300);
    oledInit();
    printf("OLED start\n");
    oledFill(0x0f);
    osDelay(300);
    oledClear();
    oledUpdate();
    
}

void oledTest1(void){

    oledStart();
    char str[]="Hello World!";
    drawString(16,4,str);
    osDelay(2);
    drawChinese(15,32,12,cn16x16);
    drawString(0,0,str); 
  
}

SYS_RUN(oledTest1);
